package com.cuit.qx.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author lcj
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Config extends Model<Config> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 类型
     */
    private String configType;

    /**
     * key
     */
    private String configKey;

    /**
     * vaule
     */
    private String configContent;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public Config setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getConfigType() {
        return configType;
    }

    public Config setConfigType(String configType) {
        this.configType = configType;
        return this;
    }

    public String getConfigKey() {
        return configKey;
    }

    public Config setConfigKey(String configKey) {
        this.configKey = configKey;
        return this;
    }

    public String getConfigContent() {
        return configContent;
    }

    public Config setConfigContent(String configContent) {
        this.configContent = configContent;
        return this;
    }
}
